package com.juyu.miliao.scheduler.dao.mysql;

import com.juyu.miliao.scheduler.domin.SendRobot;
import org.apache.ibatis.session.SqlSession;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

@Repository
public class NewUserRobotMessageDao {
    @Resource
    private SqlSession sqlSession;

    public List<SendRobot> findSendRobotByIsOnLine(int isOnline) {
        return sqlSession.selectList("findSendRobotByIsOnLine",isOnline);
    }

}
